/*
 * @Author: leechoy 1419352779@qq.com
 * @Date: 2024-04-14 14:18:32
 * @LastEditors: leechoy 1419352779@qq.com
 * @LastEditTime: 2024-06-17 02:06:08
 * @FilePath: /H5_SCAN/Front/H5_SCAN/src/router/routes/modules/list copy.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const scan: AppRouteRecordRaw = {
  path: '/scan',
  name: 'scan',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: 'menu.scanManage',
    requiresAuth: true,
    icon: 'icon-list',
    order: 2,
  },
  children: [
    {
      path: 'urlManage', // The midline path complies with SEO specifications
      name: 'urlManage',
      component: () => import('@/views/scanManage/search-table/index.vue'),
      meta: {
        locale: 'menu.scanManage.urlManage',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'resultList', // The midline path complies with SEO specifications
      name: 'resultList',
      component: () => import('@/views/stadarManage/resultList/index.vue'),
      meta: {
        locale: '检测结果列表',
        requiresAuth: true,
        roles: ['*'],
      },
    },
  ],
};

export default scan;
